package com.raycloud.robot.domain.dto;

import java.util.Date;

public class CommonSettingDto{
    private Long id;
    private Integer appId;
    private String projectId;
    private Integer type;
    private String configKey;
    private String configValue;
    private String description;
    private Date gmtCreate;
    private Date gmtModified;
    public Long getId(){
        return this.id;
    }
    public Integer getAppId(){
        return this.appId;
    }
    public String getProjectId(){
        return this.projectId;
    }
    public Integer getType(){
        return this.type;
    }
    public String getConfigKey(){
        return this.configKey;
    }
    public String getConfigValue(){
        return this.configValue;
    }
    public String getDescription(){
        return this.description;
    }
    public Date getGmtCreate(){
        return this.gmtCreate;
    }
    public Date getGmtModified(){
        return this.gmtModified;
    }
    public void setId(final Long id){
        this.id=id;
    }
    public void setAppId(final Integer appId){
        this.appId=appId;
    }
    public void setProjectId(final String projectId){
        this.projectId=projectId;
    }
    public void setType(final Integer type){
        this.type=type;
    }
    public void setConfigKey(final String configKey){
        this.configKey=configKey;
    }
    public void setConfigValue(final String configValue){
        this.configValue=configValue;
    }
    public void setDescription(final String description){
        this.description=description;
    }
    public void setGmtCreate(final Date gmtCreate){
        this.gmtCreate=gmtCreate;
    }
    public void setGmtModified(final Date gmtModified){
        this.gmtModified=gmtModified;
    }
    @Override
    public boolean equals(final Object o){
        if(o==this){
            return true;
        }
        if(!(o instanceof CommonSettingDto)){
            return false;
        }
        final CommonSettingDto other=(CommonSettingDto)o;
        if(!other.canEqual(this)){
            return false;
        }
        final Object this$id=this.getId();
        final Object other$id=other.getId();
        Label_0065:{
            if(this$id==null){
                if(other$id==null){
                    break Label_0065;
                }
            }
            else if(this$id.equals(other$id)){
                break Label_0065;
            }
            return false;
        }
        final Object this$appId=this.getAppId();
        final Object other$appId=other.getAppId();
        Label_0102:{
            if(this$appId==null){
                if(other$appId==null){
                    break Label_0102;
                }
            }
            else if(this$appId.equals(other$appId)){
                break Label_0102;
            }
            return false;
        }
        final Object this$projectId=this.getProjectId();
        final Object other$projectId=other.getProjectId();
        Label_0139:{
            if(this$projectId==null){
                if(other$projectId==null){
                    break Label_0139;
                }
            }
            else if(this$projectId.equals(other$projectId)){
                break Label_0139;
            }
            return false;
        }
        final Object this$type=this.getType();
        final Object other$type=other.getType();
        Label_0176:{
            if(this$type==null){
                if(other$type==null){
                    break Label_0176;
                }
            }
            else if(this$type.equals(other$type)){
                break Label_0176;
            }
            return false;
        }
        final Object this$configKey=this.getConfigKey();
        final Object other$configKey=other.getConfigKey();
        Label_0213:{
            if(this$configKey==null){
                if(other$configKey==null){
                    break Label_0213;
                }
            }
            else if(this$configKey.equals(other$configKey)){
                break Label_0213;
            }
            return false;
        }
        final Object this$configValue=this.getConfigValue();
        final Object other$configValue=other.getConfigValue();
        Label_0250:{
            if(this$configValue==null){
                if(other$configValue==null){
                    break Label_0250;
                }
            }
            else if(this$configValue.equals(other$configValue)){
                break Label_0250;
            }
            return false;
        }
        final Object this$description=this.getDescription();
        final Object other$description=other.getDescription();
        Label_0287:{
            if(this$description==null){
                if(other$description==null){
                    break Label_0287;
                }
            }
            else if(this$description.equals(other$description)){
                break Label_0287;
            }
            return false;
        }
        final Object this$gmtCreate=this.getGmtCreate();
        final Object other$gmtCreate=other.getGmtCreate();
        Label_0324:{
            if(this$gmtCreate==null){
                if(other$gmtCreate==null){
                    break Label_0324;
                }
            }
            else if(this$gmtCreate.equals(other$gmtCreate)){
                break Label_0324;
            }
            return false;
        }
        final Object this$gmtModified=this.getGmtModified();
        final Object other$gmtModified=other.getGmtModified();
        if(this$gmtModified==null){
            if(other$gmtModified==null){
                return true;
            }
        }
        else if(this$gmtModified.equals(other$gmtModified)){
            return true;
        }
        return false;
    }
    protected boolean canEqual(final Object other){
        return other instanceof CommonSettingDto;
    }
    @Override
    public int hashCode(){
        final int PRIME=59;
        int result=1;
        final Object $id=this.getId();
        result=result*59+(($id==null)?43:$id.hashCode());
        final Object $appId=this.getAppId();
        result=result*59+(($appId==null)?43:$appId.hashCode());
        final Object $projectId=this.getProjectId();
        result=result*59+(($projectId==null)?43:$projectId.hashCode());
        final Object $type=this.getType();
        result=result*59+(($type==null)?43:$type.hashCode());
        final Object $configKey=this.getConfigKey();
        result=result*59+(($configKey==null)?43:$configKey.hashCode());
        final Object $configValue=this.getConfigValue();
        result=result*59+(($configValue==null)?43:$configValue.hashCode());
        final Object $description=this.getDescription();
        result=result*59+(($description==null)?43:$description.hashCode());
        final Object $gmtCreate=this.getGmtCreate();
        result=result*59+(($gmtCreate==null)?43:$gmtCreate.hashCode());
        final Object $gmtModified=this.getGmtModified();
        result=result*59+(($gmtModified==null)?43:$gmtModified.hashCode());
        return result;
    }
    @Override
    public String toString(){
        return "CommonSettingDto(id="+this.getId()+", appId="+this.getAppId()+", projectId="+this.getProjectId()+", type="+this.getType()+", configKey="+this.getConfigKey()+", configValue="+this.getConfigValue()+", description="+this.getDescription()+", gmtCreate="+this.getGmtCreate()+", gmtModified="+this.getGmtModified()+")";
    }
}
